var app = getApp();
var com = require('../../common.js');
Page({
  data: {},
  onLoad: function(options) {},
  onReady: function() {},
  onShow: function() {},
  onHide: function() {},
  onUnload: function() {},
  onPullDownRefresh: function() {},
  onReachBottom: function() {},
  onShareAppMessage: function() {},
  groupsOrderInfo(e) {
    console.log(e)
    var _this = this
    com.link(app.link.onGropSearchList, e.detail.value, function(res) {
      console.log(res)
      if (res.data.state==false) {
        wx.showToast({
          title: res.data.message,
          icon: 'none'
        })
        return false;
      }
      wx.redirectTo({
        url: '/pages/settingShop/settingShop?phone_number=' + e.detail.value.phone_number,
      })

    })
  }
})